package com.itqf.service;

import com.itqf.entity.User;

import java.util.Set;

/**
 * 作者:高少东
 * 项目名:  product_gsd
 * 时间: 2019/12/18 21:21
 * 描述:
 */

public interface UserService {


    String queryAccount(String uAccount);

    int registAccount(User user);

    User loginAccount(String account);

    Set<String> selectRoleByAccount(String uAccount);

    Set<String> selectPermissionByRole(Set<String> roles);

    int alterPassword(Integer uId,String newPassword);

    String verifyUser(String uAccount);
}
